home *** CD-ROM | disk | FTP | other *** search
/ Knowledge Adventure: Spa…ndersea Adventure & Speed / Knowledge Adventure Compilation - Space Adventure - Undersea Adventure - Speed (Packard Bell)(170159)(1994).ISO / sea / difflog.log < prev    next >
Text File  |  1994-05-06  |  9KB  |  377 lines

  1. 18c18
  2. < preset digitizedSound On
  3. ---
  4. > set digitizedSound On
  5. 20a21,29
  6. > getSoundPort _ioPort _irq _dma _drq
  7. > getMusicPort _musicIo
  8. > set _soundMenuHeight 14
  9. > set _soundMenu sound.mnu
  10. > exist %CDRoot%\drivers\algdig.drv
  11. > if %_1% = 0
  12. >     set _soundMenuHeight 10
  13. >     set _soundMenu sound4.mnu
  14. > endif
  15. 33a43,82
  16. > rem lk 12:35 3/27
  17. > rem --------- Disallow setup if in Windows ---------
  18. > getOpt -W
  19. > if %_err% = 0
  20. >     rem -W given, allow windows install
  21. >     goto winOk
  22. > endif
  23. > rem getenv's argument is case sensitive; usually always uppercase,
  24. > rem but windir is lowercase.  That way you can't set it from commandline!
  25. > getenv windir
  26. > if "%_1%" ne ""
  27. >     rem by golly they're in windows;
  28. >     textbox 1 1 80 25 blue
  29. >     color back blue
  30. >     beep 2
  31. >     type %_text%\nowin.txt 10 11 60 7
  32. >     waitkey_noesc
  33. >     goto exit_unsaved
  34. > endif
  35. > :winOk
  36. > rem lk 2:35 3/26 start
  37. > rem This check is to see if the CDROM is in the caddy when you run setup
  38. > rem because, if you don't you'll get a driver missing error.
  39. > :checkCd
  40. > existdir %CDRoot%\drivers
  41. > if %_1% = 0
  42. >     textbox 1 1 25 80 blue
  43. >     color back blue
  44. >     beep 1
  45. >     type %_text%\nocd.txt 15 10 50 7 
  46. >     waitKey_noEsc
  47. >     switch "%_1%"
  48. >     case escape:    
  49. >         goto exit_unsaved
  50. >     case default:
  51. >     endswitch
  52. >     color back cyan
  53. >     goto checkCd
  54. > endif
  55. > rem lk 2:49 3/26 end
  56. 50c99,100
  57. < menu %_text%\sound.mnu 19 11 44 13 %_text%\sound.tit %_text%\updown.leg
  58. ---
  59. > rem menu %_text%\sound.mnu 20 11 44 8 %_text%\sound.tit %_text%\updown.leg
  60. > menu %_text%\%_soundMenu% 20 11 44 %_soundMenuHeight% %_text%\sound.tit %_text%\updown.leg
  61. 51a102,104
  62. > if %soundDriver% eq quit
  63. >     goto exit_unsaved
  64. > endif
  65. 68c121
  66. < set _musicIoPort "%_ioPort%"
  67. ---
  68. > set _musicIo "%_ioPort%"
  69. 69a123,142
  70. > rem don't run sbtest if this is really a Reveal card
  71. > switch %soundDevice%
  72. > case SC400:
  73. >     set _reveal "-noAuto"
  74. > case SC600FM:
  75. >     set _reveal "-noAuto"
  76. > case SC600GM:
  77. >     set _reveal "-noAuto"
  78. > case SC600:
  79. >     set _reveal "-noAuto"
  80. > case ARIA:
  81. >     copy gm1.bnk
  82. >     copy gm2.bnk
  83. >     copy gm1.bnk %HDRoot%\museum\gm1.bnk
  84. >     copy gm2.bnk %HDRoot%\museum\gm2.bnk
  85. >     copy gm1.bnk %HDRoot%\treasure\gm1.bnk
  86. >     copy gm2.bnk %HDRoot%\treasure\gm2.bnk
  87. > case default:
  88. >     set _reveal ""
  89. > endswitch
  90. 74,75c147,148
  91. <     detect_soundBlaster
  92. <     set _musicIoPort "%_ioPort%"
  93. ---
  94. >     detect_soundBlaster %_reveal%
  95. >     set _musicIo "%_ioPort%"
  96. 78c151
  97. <     set _musicIoPort "%_ioPort%"
  98. ---
  99. >     set _musicIo "%_ioPort%"
  100. 81c154
  101. <     rem above command now sets _musicIoPort, but it should only be used
  102. ---
  103. >     rem above command now sets _musicIo, but it should only be used
  104. 84c157
  105. <         set _musicIoPort "%_ioPort%"
  106. ---
  107. >         set _musicIo "%_ioPort%"
  108. 97c170
  109. <     set _musicIoPort "%_ioPort%"
  110. ---
  111. >     set _musicIo "%_ioPort%"
  112. 104c177
  113. <         set _musicIoPort 388
  114. ---
  115. >         set _musicIo 388
  116. 113c186
  117. <     set _musicIoPort 388
  118. ---
  119. >     set _musicIo 388
  120. 115c188
  121. <     set _musicIoPort 388
  122. ---
  123. >     set _musicIo 388
  124. 118c191
  125. <         set _musicIoPort 330
  126. ---
  127. >         set _musicIo 330
  128. 122a196,197
  129. > set _musicTmp %music%
  130. > set _digiTmp %digitizedSound%
  131. 124c199,201
  132. < setMusicPort "%_musicIoPort%"
  133. ---
  134. > setMusicPort "%_musicIo%"
  135. > set music %_musicTmp%
  136. > set digitizedSound %_digiTmp%
  137. 133c210
  138. <      set music Off
  139. ---
  140. >     set music Off
  141. 136c213
  142. <      set music Off
  143. ---
  144. >     set music Off
  145. 168d244
  146. <     copy %soundDriver% sound.drv
  147. 185d260
  148. <     copy %musicDriver% music.drv
  149. 187a263,269
  150. > rem set default tsr lines for product.bat
  151. > set _tsr "rem no special tsrs needed"
  152. > set _tsr2 "rem no special tsr cleanup needed"
  153. > closeDrivers
  154. > unset _sc600mode
  155. > set _vol1 "rem No special sound device"
  156. > set _vol2 "rem No special sound device cleanup"
  157. 198,201c280,293
  158. <     rem Reveal SC600
  159. <     rem We should search for ssinit, but for now trust the enviroment.
  160. <     getenv SNDSCAPE
  161. <     set _tsr "%_1%\ssinit GM"
  162. ---
  163. >     rem Reveal SC600 in native general midi mode
  164. >     set _sc600mode GM
  165. > case SC600FM:
  166. >     rem Reveal SC600 in Sound Blaster (FM) mode
  167. >     set _sc600mode FM
  168. > case default:
  169. > endswitch
  170. > if "%_sc600mode%" ne ""
  171. >     rem getenv SNDSCAPE
  172. >     rem set _tsr "%_1%\ssinit %_sc600mode% /w"
  173. >     set _tsr "%hdroot%\callss %_sc600mode% /w"
  174. >     set _vol1 "%hdroot%\ssvol 127 110 100"
  175. >     set _vol2 "%hdroot%\ssvol /r"
  176. >     unset _sc600mode
  177. 203a296
  178. >     spawn %_vol1%
  179. 204a298,302
  180. >     color back white
  181. >     color text black
  182. >     type %_text%\settings.txt 1 25 80 1
  183. >     color back cyan
  184. >     color text white
  185. 206,207c304,308
  186. < case default:
  187. < endswitch
  188. ---
  189. >     color text yellow
  190. >     echo 6 6 70 1 -center "%title%"
  191. >     color text white
  192. >     openDrivers
  193. > endif
  194. 214a316,326
  195. > if %musicType% ne -
  196. >     color back blue
  197. >     color text yellow blink
  198. >     type %_text%\pmusic.txt 20 20 40 1 
  199. >     color text white
  200. >     type %_text%\playing.txt 5 21 70 4
  201. >     rem show them which menu item would have gotten them here, more or less.
  202. >     color back cyan
  203. >     menu %_text%\main.mnu 19 10 44 9 %_text%\main.tit %_text%\updown.leg -default 0 -showOnly
  204. >     music kalogo.%musicType%
  205. > endif
  206. 223c335
  207. <         goto autoMusicTest
  208. ---
  209. >         goto noAutoSoundTest
  210. 235,246d346
  211. <     menu %_text%\main.mnu 19 10 44 9 %_text%\main.tit %_text%\updown.leg -default 0 -showOnly
  212. <     sound knowledg.voc
  213. < endif
  214. < :autoMusicTest
  215. < if %musicType% ne none
  216. <     color back blue
  217. <     color text yellow blink
  218. <     type %_text%\pmusic.txt 20 20 40 1 
  219. <     color text white
  220. <     type %_text%\playing.txt 5 21 70 4
  221. <     rem show them which menu item would have gotten them here, more or less.
  222. <     color back cyan
  223. 248c348
  224. <     music kalogo.%musicType%
  225. ---
  226. >     sound knowledg.voc
  227. 249a350
  228. > :noAutoSoundTest
  229. 274c375
  230. <     if %musicType% ne none
  231. ---
  232. >     if "%musicType%" ne -
  233. 283c384
  234. <     if %soundDriver% ne .none
  235. ---
  236. >     if "%soundDriver%" ne .none
  237. 314d414
  238. < saveconfig
  239. 341a442,447
  240. >     set _musicTmp %music%
  241. >     set _digiTmp %digitizedSound%
  242. >     setSoundPort "%_ioPort%" "%_irq%" "%_dma%" "%_drq%"
  243. >     setMusicPort "%_musicIo%"
  244. >     set music %_musicTmp%
  245. >     set digitizedSound %_digiTmp%
  246. 348a455,456
  247. >     set _musicTmp %music%
  248. >     set _digiTmp %digitizedSound%
  249. 350a459,460
  250. >     set music %_musicTmp%
  251. >     set digitizedSound %_digiTmp%
  252. 397c507
  253. <         goto o_main_loop
  254. ---
  255. >     goto o_main_loop
  256. 404a515,542
  257. >     rem lk 3/26/94 start
  258. >     rem next four ifs are exceptions because SBDIG.DRV and PCSPKR.DRV
  259. >     rem doesn't handle soundVolume
  260. >     if "%_var%" ne SoundVolume
  261. >         goto o_noDriver
  262. >     endif
  263. >     set _noChangeVol 0
  264. >     if "%_nakedSoundDriver%" eq PCSPKR.DRV
  265. >         set _noChangeVol 1
  266. >     endif
  267. >     if "%_nakedSoundDriver%" eq SBDIG.DRV
  268. >         set _noChangeVol 1
  269. >     endif
  270. >     if "%_noChangeVol%" > 0
  271. >         set soundVolume 100
  272. >         beep 1
  273. >         sub _next 1
  274. >         textbox 1 1 80 24 blue
  275. >         color back blue
  276. >         type %_text%\o_novol.txt 18 10 44 4
  277. >         color back cyan
  278. >         waitKey_noesc
  279. >         textbox 10 21 60 4 blue
  280. >         goto o_main_loop
  281. >     endif
  282. >     unset _noChangeVol
  283. > :o_noDriver
  284. >     rem lk 3/26/94 end
  285. 408,409c546,549
  286. <     echo 36 %_o_tmp% 2 1
  287. <     promptdir "" 34 %_line% 38 1 -any
  288. ---
  289. >     color back lightmagenta
  290. >     echo 36 %_o_tmp% 30 1 "   ]                               "
  291. >     promptdir "" 34 %_line% 5 1 -any
  292. >     color back cyan
  293. 411c551
  294. <         goto o_main_loop
  295. ---
  296. >     goto o_main_loop
  297. 414,416c554,556
  298. <         beep 1
  299. <         sub _next 1
  300. <         goto o_main_loop
  301. ---
  302. >     beep 1
  303. >     sub _next 1
  304. >     goto o_main_loop
  305. 419,421c559,561
  306. <         beep 1
  307. <         sub _next 1
  308. <         goto o_main_loop
  309. ---
  310. >     beep 1
  311. >     sub _next 1
  312. >     goto o_main_loop
  313. 436c576
  314. <         goto o_main_loop
  315. ---
  316. >     goto o_main_loop
  317. 439,440c579,580
  318. <         beep 1
  319. <         sub _next 1
  320. ---
  321. >     beep 1
  322. >     sub _next 1
  323. 444,445c584,585
  324. <         beep 1
  325. <         sub _next 1
  326. ---
  327. >     beep 1
  328. >     sub _next 1
  329. 457,458c597,600
  330. <     echo 36 %_o_tmp% 36 1
  331. <     promptdir "" 34 %_line% 38 1
  332. ---
  333. >     color back lightmagenta
  334. >     echo 36 %_o_tmp% 39 1 "                                     ]"
  335. >     promptdir "" 34 %_line% 39 1
  336. >     color back cyan
  337. 460c602
  338. <         goto o_main_loop
  339. ---
  340. >     goto o_main_loop
  341. 530a673,678
  342. > set _musicTmp %music%
  343. > set _digiTmp %digitizedSound%
  344. > setSoundPort "%_ioPort%" "%_irq%" "%_dma%" "%_drq%"
  345. > setMusicPort "%_musicIo%"
  346. > set music %_musicTmp%
  347. > set digitizedSound %_digiTmp%
  348. 538c686
  349. < if %musicType% ne none
  350. ---
  351. > if %musicType% ne -
  352. 561c709
  353. < menu %_text%\cache.mnu 19 10 44 7 %_text%\cache.tit %_text%\updown.leg
  354. ---
  355. > menu %_text%\cache.mnu 19 10 44 6 %_text%\cache.tit %_text%\updown.leg
  356. 570a719
  357. > set _diskWarning diskfre2.txt
  358. 572a722
  359. >     set _diskWarning dskcfre2.txt
  360. 579c729
  361. <     type %_text%\diskfre2.txt 10 15 60 8 -border
  362. ---
  363. >     type %_text%\%_diskWarning% 10 15 60 8 -border
  364. 674c824,826
  365. <         set _winWarning windone2.txt
  366. ---
  367. >         rem The line below was remmed out because we have the dual install
  368. >         rem and this message is inappropriate if they're installing from win
  369. >         rem set _winWarning windone2.txt
  370. 796,798c948,949
  371. < if "%soundDevice%" eq "ARIA"
  372. <     type %_text%\aria.txt 1 16 80 4
  373. < endif
  374. ---
  375. > rem since we're invoked with kawin, don't need to tell them to restart windows
  376. > rem However, this code is used to pause the setup screen when run from Windows.
  377.